home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0092.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  951 b   |  30 lines

  1. ...
  2. 1. Is it possible to define pseudo hyperlinks which start a subprocess?
  3. That would be really phantastic because it allows for nice tutorials with
  4. trial buttons. On xcf.berkely.edu I saw:
  5.  
  6.  
  7. About XMap ... 
  8.  
  9. <P>
  10. Click here for a demo.
  11. <S>/*script*/
  12.     if (accessible("/usr/users/ftp") != "") {
  13.         print("doing /usr/users/ftp/ftp_public/misc/ht/projects/xmap/ultrix.ws.2.1 /usr/users/ftp/ftp_public/misc/ht/projects/xmap/sf_oak & \n");
  14. /*        system("/usr/users/ftp/ftp_public/misc/ht/projects/xmap/ultrix.ws.2.1 /usr/users/ftp/ftp_public/misc/ht/projects/xmap/sf_oak & ");*/
  15.     } else if (accessible("/map" != "")) {
  16.         /* in case this is running in xcfdemo */
  17.         print("doing /xmap/ultrix.ws.2.1 /xmap/sf_oak & \n");
  18. /*        system("/xmap/ultrix.ws.2.1 /xmap/sf_oak & ");*/
  19.     } else {
  20.         /* can't guess where xmap executables might be */
  21.         bell(); /* later, use dialogbox */
  22.     }
  23. </S>
  24.  
  25. Unfortunately it doesn't work, in Viola no button was shown.
  26.  
  27. ...
  28.  
  29.  
  30.